package com.wave.wavesystem.business.pojo.entity;

import com.mybatisflex.annotation.Table;
import wave.common.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
* @author  夕下风波
* @date 2025-02-11
* @description 用户-角色关联表 实体
*/
@Data
@Table("wave_user_role")
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class UserRoleEntity extends BaseEntity implements Serializable {

    public UserRoleEntity(Long roleId,Long userId){
        this.roleId=roleId;
        this.userId=userId;
    }
    // 备注
    private String  remark;
    // 角色id
    private Long  roleId;
    // 用户id
    private Long  userId;

}
